extends CanvasLayer

func _process(delta: float) -> void:
	$ResourceText/LabelWood.text = "Wood: "+str(Global.wood_count)
	$ResourceText/LabelFood.text = "Food: "+str(Global.food_count)
	$ResourceText/LabelGold.text = "Gold: "+str(Global.gold_count)
	$ResourceText/LabelPopulation.text = "Population: "+str(Global.population_count)+"/"+str(Global.max_population_count)
	
	if Global.workers_selected == true:
		$workerBuildOptions.visible = true
	if Global.workers_selected == false:
		$workerBuildOptions.visible = false
		
	
